<template>
	<div>
    <el-row :gutter="20">
      <el-col :span="6" :xs="24">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>医生信息</span>
          </div>
          <div>
            <ul class="list-group list-group-striped">
              <li class="list-group-item">
                <svg-icon icon-class="user" />&nbsp;医生姓名
                <div class="pull-right">{{ $route.query.userName }}</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="num" />&nbsp;医生编号
                <div class="pull-right">{{ $route.query.number }}</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="sex" />&nbsp;性别
                <div class="pull-right">{{ $route.query.sex = 0 ? '男' : '女' }}</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="phone" />&nbsp;手机号码
                <div class="pull-right">{{ $route.query.phone }}</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="email" />&nbsp;邮箱
                <div class="pull-right">{{ $route.query.email }}</div>
              </li>
              <li class="list-group-item">
                <svg-icon icon-class="tree" />&nbsp;所属医院
                <div class="pull-right">{{ $route.query.dept }}</div>
              </li>
            </ul>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>

export default {
	data() {
		return {
      doctor: undefined,
		};
	},
	mounted() {
		this.doctor = this.$route.query.doctor;

	},
	methods: {

	}
}
</script>

<style lang="scss" scoped>

</style>
